home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / WorldP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.9 KB  |  80 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: WorldP.h,v $ $Revision: 1.8 $ $Date: 92/05/14 13:01:22 $ */
  6. /*
  7. *  (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. /*
  11. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  12. /*
  13. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  14. #ifndef _XmWorldP_h
  15. #define _XmWorldP_h
  16.  
  17. #include <Xm/DesktopP.h>
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23.  
  24. #ifndef XmIsWorldObject
  25. #define XmIsWorldObject(w)    XtIsSubclass(w, xmWorldClass)
  26. #endif /* XmIsWorldObject */
  27.  
  28. typedef struct _XmWorldRec *XmWorldObject;
  29. typedef struct _XmWorldClassRec *XmWorldObjectClass;
  30. externalref WidgetClass xmWorldClass;
  31.  
  32.  
  33. typedef struct _XmWorldClassPart{
  34.     XtPointer        extension;
  35. }XmWorldClassPart, *XmWorldClassPartPtr;
  36.  
  37. typedef struct _XmWorldClassRec{
  38.     ObjectClassPart        object_class;
  39.     XmExtClassPart        ext_class;
  40.     XmDesktopClassPart         desktop_class;
  41.     XmWorldClassPart        world_class;
  42. }XmWorldClassRec;
  43.  
  44. typedef struct {
  45.     int                foo;
  46. } XmWorldPart, *XmWorldPartPtr;
  47.  
  48. externalref XmWorldClassRec     xmWorldClassRec;
  49.  
  50. typedef struct _XmWorldRec{
  51.     ObjectPart            object;
  52.     XmExtPart            ext;
  53.     XmDesktopPart        desktop;
  54.     XmWorldPart            world;
  55. }XmWorldRec;
  56.  
  57.  
  58. /********    Private Function Declarations    ********/
  59. #ifdef _NO_PROTO
  60.  
  61. extern XmWorldObject _XmGetWorldObject() ;
  62.  
  63. #else
  64.  
  65. extern XmWorldObject _XmGetWorldObject( 
  66.                         Widget shell,
  67.                         ArgList args,
  68.                         Cardinal *num_args) ;
  69.  
  70. #endif /* _NO_PROTO */
  71. /********    End Private Function Declarations    ********/
  72.  
  73.  
  74. #ifdef __cplusplus
  75. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  76. #endif
  77.  
  78. #endif /* _XmWorldP_h */
  79. /* DON'T ADD STUFF AFTER THIS #endif */
  80.